// import Layout from "@/layout";

const IotMonitoringRouter = {
  path: "/iot-monitoring",
  component: "Layout",
  redirect: "noRedirect",
  name: "IotMonitoring",
  meta: { title: "物联监控", icon: "iot-monitoring" },
  children: [
    {
      path: "/environmental-data-monitoring",
      name: "EnvironmentalDataMonitoring",
      component: "iot-monitoring/environmental-data-monitoring/index",
      meta: { title: "环境数据监测", icon: "environmental-data-monitoring" }
    },
    {
      path: "/video-surveillance",
      name: "VideoSurveillance",
      component: "iot-monitoring/video-surveillance/index",
      meta: { title: "视频监控", icon: "video-surveillance" }
    },
    {
      path: "/device-remote-control",
      name: "DeviceEemoteControl",
      component: "iot-monitoring/device-remote-control/index",
      meta: { title: "设备远程控制", icon: "device-remote-control" }
    },
    {
      path: "/meteorological-monitoring",
      name: "MeteorologicalMonitoring",
      component: "iot-monitoring/meteorological-monitoring/index",
      meta: { title: "气象监测", icon: "meteorological-monitoring" }
    },
    {
      path: "/environmental-data-entry",
      name: "EnvironmentalDataEntry",
      component: "iot-monitoring/environmental-data-entry/index",
      meta: { title: "环境数据录入", icon: "environmental-data-entry" }
    }, {
      path: "/monitoring-alarm",
      component: "layout-second/index",
      redirect: "noRedirect",
      name: "MonitoringAlarm",
      meta: {
        title: "监测告警管理",
        icon: "monitoring-alarm"
      },
      children: [
        {
          path: "/monitoring-category-management",
          name: "MonitoringCategoryManagement",
          component: "monitoring-alarm/monitoring-category-management/index",
          meta: {
            title: "告警类别管理",
            icon: "monitoring-category-management"
          }
        },
        {
          path: "/monitoring-contact-management",
          name: "MonitoringContactManagement",
          component: "monitoring-alarm/monitoring-contact-management/index",
          meta: {
            title: "告警联系人管理",
            icon: "monitoring-category-management"
          }
        },
        {
          path: "/monitoring-template-configuration",
          name: "MonitoringTemplateConfiguration",
          component: "monitoring-alarm/monitoring-template-configuration/index",
          meta: {
            title: "告警模板配置",
            icon: "monitoring-template-configuration"
          }
        },
        {
          path: "/basic-monitoring-configuration",
          name: "BasicMonitoringConfiguration",
          component: "monitoring-alarm/basic-monitoring-configuration/index",
          meta: {
            title: "基础告警配置",
            icon: "basic-monitoring-configuration"
          }
        },

        {
          path: "/monitoring-handling",
          name: "MonitoringHandling",
          component: "monitoring-alarm/monitoring-handling/index",
          meta: {
            title: "告警处理",
            icon: "monitoring-handling"
          }
        },
        {
          path: "/historical-monitoring-record",
          name: "HistoricalMonitoringRecord",
          component: "monitoring-alarm/historical-monitoring-record/index",
          meta: {
            title: "历史告警记录",
            icon: "historical-monitoring-record"
          }
        },
      ]
    }
  ]
}

export default IotMonitoringRouter;
